﻿@model List<pcObjectLibrary.CompanyEmployeeHolidayPaidObjLibrary>
@using (Ajax.BeginForm("PaidHolidayPkg", "Employer", null, new AjaxOptions { HttpMethod = "POST" }, new { }))
{
    <ul class="commonForm">
        @for (var i = 0; i < Model.Count(); i++)
        {
            <li>
                @Html.HiddenFor(x =>  Model[i].companyId)
                @Html.HiddenFor(x => Model[i].employmentTypeId)
                @Html.CheckBoxFor(x=> Model[i].isHolidayPaid)
                @Html.DisplayFor(x => Model[i].employmentTypeName)
            </li>  
        }
    </ul>
    <input type="submit" value="Update" class="k-button" />
}